<template>
    <div>
        <a-button @click="importAreas">从高德地图导入数据</a-button>
        <a-tree :load-data="onLoadData" :tree-data="areas" />
    </div>
</template>
<script>
import {post} from "@/services/crud.js"
export default {
    data(){
        return {
            areas:[],
        }
    },
    methods:{
        onLoadData(){
            
        },
        importAreas(){
            post('/areaSync')
        }
    }
}
</script>